<?php /* Smarty version 2.6.18, created on 2010-09-08 17:27:45
         compiled from admin/submenu/submenu_list.tpl */ ?>
<div id="submenu_list" name="submenu_list">
<font size = "2">
<strong> <?php echo $this->_tpl_vars['page_message']; ?>
 </strong>
<br/>
<br/>
<table border="1" cellspacing="1px" cellpadding="10px "align="center" width="100%">
	<tr>
		<th width="7%"> Order </th>
		<th width="72%"> Title </th>
		<th width="7%"> Status  </th>
		<th width="14%" colspan="2" align="center"> Action </th>
	</tr>
	<?php if ($this->_tpl_vars['hasSubmenu']): ?>
		<?php while ($this->_tpl_vars['submenu_list']->fetch()) { ?>
		<tr id="menu_row<?php echo $this->_tpl_vars['submenu_list']->menu_id; ?>
">
			<td align="center"> <?php echo $this->_tpl_vars['submenu_list']->menu_order; ?>
 </td>
			<td> <a href="#edit_page_section" onclick="editSubmenuPage(<?php echo $this->_tpl_vars['submenu_list']->menu_node_id; ?>
,'<?php echo $this->_tpl_vars['submenu_list']->menu_title; ?>
')"><div id="submenu_title_<?php echo $this->_tpl_vars['submenu_list']->menu_id; ?>
"><?php echo $this->_tpl_vars['submenu_list']->menu_title; ?>
</div></a> </td>
			<td align="center"> <?php if ($this->_tpl_vars['submenu_list']->menu_hide == 0): ?>Active<?php else: ?>Inactive<?php endif; ?> </td>
			<td align="center" width="7%"> <a href="#edit_submenu_section" onclick="editSubmenu(<?php echo $this->_tpl_vars['submenu_list']->menu_id; ?>
)" title="Edit" class="link_edit" /></td>
			<td align="center" width="7%"> <a href="javascript:deleteSubmenu(<?php echo $this->_tpl_vars['submenu_list']->menu_id; ?>
,'<?php echo $this->_tpl_vars['submenu_list']->menu_title; ?>
')" title="Delete" class="link_delete" /></td>
		</tr>
		<?php } ?>
		
	<?php endif; ?>
	
</table>
<br/>
<input type="button" class="btn_add" value="Add" onclick="addSubmenu()"/>
<br/>
</div>
<input type="hidden" id="current_url" name="current_url" value="<?php echo $this->_tpl_vars['current_url']; ?>
" />
<div id="edit_page_section" name="edit_page_section"></div>